package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 健康数据对象 sys_health_data
 *
 * @author ruoyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("健康数据")
public class HealthDataVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 数据ID
     */
    @ApiModelProperty(value = "数据ID")
    private Long id;

    /**
     * 设备ID
     */
    @ApiModelProperty(value = "设备ID")
    private Long deviceId;


    /**
     * 设备ID
     */
    @ApiModelProperty(value = "设备标识")
    private String deviceIdentifier;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户姓名")
    private String userName;

    /**
     * 请求ID
     */
    @ApiModelProperty(value = "请求ID")
    private String requestId;

    /**
     * 心率
     */
    @ApiModelProperty(value = "心率")
    private String heartRate;

    /**
     * 血压
     */
    @ApiModelProperty(value = "血压")
    private String bloodPressure;

    /**
     * 血氧
     */
    @ApiModelProperty(value = "血氧")
    private String bloodOxygen;

    /**
     * 更新时间戳
     */
    @ApiModelProperty(value = "更新时间戳")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}